/*
 * @Author: Jone XIn
 * @Date: 2022-01-10 22:18:52
 * @LastEditTime: 2022-01-10 22:28:38
 * @Description: http请求
 */
const axios = require('axios');
const { api } = require('../config.json');

const uploadNewsFileBuffer = async (data) => {
    let res = await axios.post(api, {
        data
    })
    return res;
}

module.exports = {
    uploadNewsFileBuffer
}